/* 
 * ${beanName}.java created on ${config.createTime?string("yyyy-MM-dd")} by ${config.createUser}
 */ 

package ${config.pack}.entity;

<#list packageSet as package>
import ${package};
</#list>
import org.ssm.core.base.BaseBean;
import org.apache.ibatis.type.Alias;

/**
 * ${config.beanDescription}
 * TODO javadoc for ${config.pack}.entity.${beanName}
 * @Copyright: ${config.copyright}
 * @author: ${config.createUser}
 * @since:${config.createTime?string("yyyy-MM-dd HH:mm:ss")}  
 */
@Alias("${beanName}")
public class ${beanName} extends BaseBean {${"\n"}
<#list columnList as column>
${"\t"}/**
${"\t"}* ${column.dbColumnComment}
${"\t"}*/
${"\t"}private ${column.javaPropertyType} ${column.javaPropertyName};${"\n"}
</#list>
${"\t"}/**
${"\t"}* 常量返回(get+属性名+Name)==============================================start
${"\t"}*/
${"\t"}/**
${"\t"}* 常量返回(get+属性名+Name)==============================================end
${"\t"}*/	
<#list columnList as column>
${"\t"}public void set${column.javaPropertyName?cap_first}(${column.javaPropertyType} ${column.javaPropertyName}){
${"\t"}${"\t"}this.${column.javaPropertyName}=${column.javaPropertyName};
${"\t"}}${"\n"}
${"\t"}public ${column.javaPropertyType} get${column.javaPropertyName?cap_first}(){
${"\t"}${"\t"}return ${column.javaPropertyName};
${"\t"}}${"\n"}
</#list>	
${"\t"}@Override
${"\t"}public String toString() {
${"\t"}${"\t"}return "${beanName}[<#list columnList as column><#if column_index == 0>${column.javaPropertyName}="+${column.javaPropertyName}<#else> + ", ${column.javaPropertyName}=" + ${column.javaPropertyName}</#if> </#list>+ "]";
${"\t"}}${"\n"}
}